<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{BEESCRM:$title}</title>
    <meta name="description" content="">
    <meta name="HandheldFriendly" content="True">
    <meta name="MobileOptimized" content="320">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui, user-scalable=no">
    <meta http-equiv="cleartype" content="on">
    <meta name="format-detection" content="telephone=no">

	<if condition="$storeId eq 80">
		<link rel="stylesheet" href="/assets/store/common/css/css/tongli.css">
		<else/>
		<link rel="stylesheet" href="/assets/store/common/css/css/index-417f765752.css">
	</if>

    <!--<link rel="stylesheet" href="/assets/store/common/css/goodsdetail.css">-->
    <!--<link rel="stylesheet" href="/assets/store/common/css/index.css">-->
    <!--<link rel="stylesheet" href="/assets/store/common/css/userindex.css">-->
    <link rel="stylesheet" href="/assets/store/common/css/getcoupon.css">
    <link rel="stylesheet" href="/assets/store/common/css/order.css">
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript">
    	wx.config({
			debug: false,
			appId: "{BEESCRM:$appid}",
			timestamp: "{BEESCRM:$timestamp}",
			nonceStr: "{BEESCRM:$noncestr}",
			signature: "{BEESCRM:$signature}",
			jsApiList: ['checkJsApi','onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo'],
		});
    	wx.ready(function(){
    		var url = '{BEESCRM:$share_url}';
    		var imgUrl = '{BEESCRM:$share_image}';
    		var title = '{BEESCRM:$share_title}';
    		var desc = '{BEESCRM:$share_desc}';
    		//分享到朋友圈
    		wx.onMenuShareTimeline({
    			title: title, // 分享标题
    			link: url, // 分享链接
    			imgUrl: imgUrl, // 分享图标
    			success: function () {
    				share();
    			},
    			cancel: function () {
    				// 用户取消分享后执行的回调函数
    				/* alert('已取消'); */
    			}
    		});
    		//发送给好友
    		wx.onMenuShareAppMessage({
    			title: title, // 分享标题
    			desc: desc, // 分享描述
    			link: url, // 分享链接
    			imgUrl: imgUrl, // 分享图标
    			success: function () {
    				// 用户确认分享后执行的回调函数
    				//share();
    			},
    			cancel: function () {
    				// 用户取消分享后执行的回调函数
    			}
    		});
    	});

    </script>
</head>
<body>
<div class="scrm-loadding">
    <svg width="95" height="20" id="gb-loading">
        <rect width="20" height="20" x="0" y="0" rx="3" ry="3">
            <animate attributeName="width" values="0;20;20;20;0" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="height" values="0;20;20;20;0" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="x" values="10;0;0;0;10" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="y" values="10;0;0;0;10" dur="1000ms" repeatCount="indefinite"/>
        </rect>
        <rect width="20" height="20" x="25" y="0" rx="3" ry="3">
            <animate attributeName="width" values="0;20;20;20;0" begin="200ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="height" values="0;20;20;20;0" begin="200ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="x" values="35;25;25;25;35" begin="200ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="y" values="10;0;0;0;10" begin="200ms" dur="1000ms" repeatCount="indefinite"/>
        </rect>
        <rect width="20" height="20" x="50" y="0" rx="3" ry="3">
            <animate attributeName="width" values="0;20;20;20;0" begin="400ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="height" values="0;20;20;20;0" begin="400ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="x" values="60;50;50;50;60" begin="400ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="y" values="10;0;0;0;10" begin="400ms" dur="1000ms" repeatCount="indefinite"/>
        </rect>
        <rect width="20" height="20" x="75" y="0" rx="3" ry="3">
            <animate attributeName="width" values="0;20;20;20;0" begin="800ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="height" values="0;20;20;20;0" begin="800ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="x" values="85;75;75;75;85" begin="800ms" dur="1000ms" repeatCount="indefinite"/>
            <animate attributeName="y" values="10;0;0;0;10" begin="800ms" dur="1000ms" repeatCount="indefinite"/>
        </rect>
    </svg>
</div>

